package com.zrrd.learn.chapter08.Animal;

import lombok.Data;

/**
 * 动物类
 *
 * @author asus
 * @version 1.0
 * @date 2023/7/25 14:09
 */
@Data
public class Animal {
    private String foot;

    public void run() {
        System.out.println("动物走");
    }

    public void eat() {
        System.out.println("动物吃");
    }
}
